blob: f2ceebac4ba57a07d2d9bf2ae1e9f54d003b2d7f [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-pack-redundant(1)
2=====================
3
4NAME
5----
Junio C Hamano7c73c662007-01-19 00:37:506git-pack-redundant - Find redundant pack files
Junio C Hamano1a4e8412005-12-27 08:17:237
8
9SYNOPSIS
10--------
Junio C Hamano2bb13102006-03-06 07:10:2111'git-pack-redundant' [ --verbose ] [ --alt-odb ] < --all | .pack filename ... >
Junio C Hamano1a4e8412005-12-27 08:17:2312
13DESCRIPTION
14-----------
15This program computes which packs in your repository
16are redundant. The output is suitable for piping to
17'xargs rm' if you are in the root of the repository.
18
19git-pack-redundant accepts a list of objects on standard input. Any objects
Junio C Hamanoa77a5132007-06-08 16:13:4420given will be ignored when checking which packs are required. This makes the
Junio C Hamano1a4e8412005-12-27 08:17:2321following command useful when wanting to remove packs which contain unreachable
22objects.
23
Junio C Hamano7ad22dc2007-01-29 02:55:4824git-fsck --full --unreachable | cut -d ' ' -f3 | \
Junio C Hamano1a4e8412005-12-27 08:17:2325git-pack-redundant --all | xargs rm
26
27OPTIONS
28-------
29
30
31--all::
Junio C Hamano51c2ab02006-07-09 20:38:5432Processes all packs. Any filenames on the command line are ignored.
Junio C Hamano1a4e8412005-12-27 08:17:2333
34--alt-odb::
35Don't require objects present in packs from alternate object
36directories to be present in local packs.
37
38--verbose::
39Outputs some statistics to stderr. Has a small performance penalty.
40
41Author
42------
43Written by Lukas Sandström <lukass@etek.chalmers.se>
44
45Documentation
46--------------
47Documentation by Lukas Sandström <lukass@etek.chalmers.se>
48
Junio C Hamanodecf50e2006-03-05 10:51:1449See Also
Junio C Hamano1a4e8412005-12-27 08:17:2350--------
51gitlink:git-pack-objects[1]
52gitlink:git-repack[1]
53gitlink:git-prune-packed[1]
54
55GIT
56---
57Part of the gitlink:git[7] suite